/*
 * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 */

package org.jetbrains.kotlin.parcelize.test.runners;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.util.regex.Pattern;

/** This class is generated by {@link org.jetbrains.kotlin.parcelize.test.TestGeneratorKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("plugins/parcelize/parcelize-compiler/testData/diagnostics")
@TestDataPath("$PROJECT_ROOT")
public class FirPsiParcelizeDiagnosticTestGenerated extends AbstractFirPsiParcelizeDiagnosticTest {
  @Test
  public void testAllFilesPresentInDiagnostics() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
  }

  @Test
  @TestMetadata("constructors.kt")
  public void testConstructors() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt");
  }

  @Test
  @TestMetadata("customCreator.kt")
  public void testCustomCreator() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt");
  }

  @Test
  @TestMetadata("customParcelers.kt")
  public void testCustomParcelers() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt");
  }

  @Test
  @TestMetadata("customWriteToParcel.kt")
  public void testCustomWriteToParcel() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt");
  }

  @Test
  @TestMetadata("dataClass.kt")
  public void testDataClass() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/dataClass.kt");
  }

  @Test
  @TestMetadata("delegate.kt")
  public void testDelegate() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt");
  }

  @Test
  @TestMetadata("deprecatedAnnotations.kt")
  public void testDeprecatedAnnotations() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt");
  }

  @Test
  @TestMetadata("emptyPrimaryConstructor.kt")
  public void testEmptyPrimaryConstructor() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt");
  }

  @Test
  @TestMetadata("ignoredOnParcelDefaultValues.kt")
  public void testIgnoredOnParcelDefaultValues() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt");
  }

  @Test
  @TestMetadata("ignoredOnParcelUnsupportedType.kt")
  public void testIgnoredOnParcelUnsupportedType() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt");
  }

  @Test
  @TestMetadata("kt20062.kt")
  public void testKt20062() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt");
  }

  @Test
  @TestMetadata("kt47074.kt")
  public void testKt47074() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt");
  }

  @Test
  @TestMetadata("modality.kt")
  public void testModality() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt");
  }

  @Test
  @TestMetadata("notMagicParcel.kt")
  public void testNotMagicParcel() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt");
  }

  @Test
  @TestMetadata("properties.kt")
  public void testProperties() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt");
  }

  @Test
  @TestMetadata("simple.kt")
  public void testSimple() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt");
  }

  @Test
  @TestMetadata("unsupportedType.kt")
  public void testUnsupportedType() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt");
  }

  @Test
  @TestMetadata("valueParameterUsedInClassBody.kt")
  public void testValueParameterUsedInClassBody() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/valueParameterUsedInClassBody.kt");
  }

  @Test
  @TestMetadata("withoutParcelableSupertype.kt")
  public void testWithoutParcelableSupertype() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt");
  }

  @Test
  @TestMetadata("wrongAnnotationTarget.kt")
  public void testWrongAnnotationTarget() {
    runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt");
  }
}
